package com.demo2do.fms.admin.service.report;

import java.util.List;
import java.util.Map;

import com.demo2do.core.entity.page.Page;
import com.demo2do.fms.admin.entity.report.export.DriverDistanceReportSearch;
import com.demo2do.fms.admin.entity.report.export.ReimbursementReportSearch;
import com.demo2do.fms.admin.entity.report.export.TruckDistanceReportSearch;

/**
 * 
 * @author sanz
 *
 */
public interface ExportService {

    /**
     * @param search
     * @return
     */
    public int count(ReimbursementReportSearch search);
    
    /**
     * @param search
     * @param page
     * @return
     */
    public List<Map<String, Object>> search(ReimbursementReportSearch search, Page page);
  
    /**
     * @param search
     * @return
     */
    public int count(DriverDistanceReportSearch search);
    
    /**
     * @param search
     * @param page
     * @return
     */
    public List<Map<String, Object>> search(DriverDistanceReportSearch search, Page page);

    /**
     * 
     * @param search
     * @return
     */
    public int count(TruckDistanceReportSearch search);
    
    /**
     * 
     * @param search
     * @param page
     * @return
     */
    public List<Map<String, Object>> search(TruckDistanceReportSearch search, Page page);
}
